package xin.nick.demo.producer;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @auther: Nick inickning@outlook.com
 * @date: 2021/4/13 21:04
 * @description:
 */
public class ProducerApp {
    public static void main(String[] args) throws IOException {
        System.out.println("!");
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("producer.xml");
        context.start();
        System.out.println("2");
        System.in.read();
    }
}
